package com.example.home.service

import com.example.base.base.bean.BaseBean
import com.example.home.bean.request.Location
import com.example.home.bean.request.MarkerCardRequest
import com.example.home.bean.respose.Marker
import com.example.home.bean.respose.MarkerCard
import retrofit2.http.Body
import retrofit2.http.POST

/**
 * @Description
 * @department 城市元宇宙组
 * @Author niushilong
 * @Date 2024-04-05 13:18
 */
interface MapService {

    @POST("/api/project/location")
    suspend fun getMarkerList(@Body location: Location): BaseBean<List<Marker>>

    @POST("/api/project/location/list")
    suspend fun getMarkerCardList(@Body request: MarkerCardRequest): BaseBean<List<MarkerCard>>
}